home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / example / callbacks.c < prev    next >
C/C++ Source or Header  |  1992-09-04  |  307b  |  14 lines

  1. /* We include the C code generated by the forms designer (fdesign2). */
  2. #include "panel.c"
  3.  
  4. extern float dt;
  5.  
  6. /* This is the callback procedure we must write. It's the interface
  7.    between our program and the forms code.
  8.  */
  9.  
  10. void VelocityProc(FL_OBJECT *obj, long val)
  11. {
  12.   dt = fl_get_slider_value(obj);
  13. }
  14.